#ifndef PREREQUISITES_H
#define PREREQUISITES_H

#include <OgrePlugin.h>

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
     // export if this is ScriptManager.dll, otherwise import
    #ifdef SCRIPT_MANAGER
        #define SCRIPT_MANAGER_EXPORT __declspec (dllexport)
    #else
        #define SCRIPT_MANAGER_EXPORT __declspec (dllimport)
    #endif

    // export if this is ScriptManager.dll OR a ScriptPlugin.dll, otherwise import
    #ifdef SCRIPT_PLUGIN
         #define SCRIPT_PLUGIN_EXPORT __declspec (dllexport)
     #else
         #define SCRIPT_PLUGIN_EXPORT __declspec (dllimport)
     #endif
#else
     #define DllExport
#endif

#endif // PREREQUISITES_H